﻿#include "../../ctlColorDefine.h"

namespace swui
{
	void ctlStyleProgress::set(_subType subType)
	{
		switch(subType)
		{
		case orange:
			bkBorder.set(0xff888888, 0xffeeeeee);
			bkFill.set(0xffeeeeee, 0xffeeeeee);
			fill.set(0xffffc659, 0xffe16f00);
			border.set(0xffff8013, 0xffe16f00);
			break;
		case common:
			set(orange);
			fill.set(0xff9af1ff, 0xff657fe1);
			border.set(0xff0099f9, 0xff0078c4);
			break;
		}
		subStyle = subType;
	}
}